From: Florian Müllner Date: Thu, 20 Jul 2017 15:14:31 +0000 (+0200) Subject: networkAgent: Adjust to introspection change X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~202 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4181035981720ea0be863846f2524b767a46d22c;p=gnome-shell.git networkAgent: Adjust to introspection change GLib commit fd329f4853f1 added annotations to GKeyFile methods that change the API on the JS level, so adjust to that. --- diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index fd59c11ca..3b369ec69 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -514,7 +514,7 @@ var VPNRequestHandler = new Lang.Class({ message: keyfile.get_string(VPN_UI_GROUP, 'Description'), secrets: [] }; - let [groups, len] = keyfile.get_groups(); + let groups = keyfile.get_groups(); for (let i = 0; i < groups.length; i++) { if (groups[i] == VPN_UI_GROUP) continue;